package com.fr.base.core.antlr;

class TreeSpecifierNode
{
  private TreeSpecifierNode parent = null;
  private TreeSpecifierNode firstChild = null;
  private TreeSpecifierNode nextSibling = null;
  private Token tok;

  TreeSpecifierNode(Token paramToken)
  {
    this.tok = paramToken;
  }

  public TreeSpecifierNode getFirstChild()
  {
    return this.firstChild;
  }

  public TreeSpecifierNode getNextSibling()
  {
    return this.nextSibling;
  }

  public TreeSpecifierNode getParent()
  {
    return this.parent;
  }

  public Token getToken()
  {
    return this.tok;
  }

  public void setFirstChild(TreeSpecifierNode paramTreeSpecifierNode)
  {
    this.firstChild = paramTreeSpecifierNode;
    paramTreeSpecifierNode.parent = this;
  }

  public void setNextSibling(TreeSpecifierNode paramTreeSpecifierNode)
  {
    this.nextSibling = paramTreeSpecifierNode;
    paramTreeSpecifierNode.parent = this.parent;
  }
}